import axios from '@/libs/api.request'

export class SysWelfarePercentNoCommercialConfigApi {
  static get (path, params = {}) {
    return request.get(path, createGETParams(params))
  }

  static post (path, params = {}) {
    return request.post(path, params)
  }

  // 获取参保编号列表
  static getSecurityNoList (params) {
    return axios.request({
      url: '/SysWelfarePercentNoCommercialConfig/GetSecurityNoList',
      method: 'post',
      enctype: 'multipart/form-data',
      data: params
    })
  }

  // 根据ID获取商保编号参保信息配置
  static getModel (params) {
    return axios.request({
      url: '/SysWelfarePercentNoCommercialConfig/GetModel',
      method: 'get',
      enctype: 'multipart/form-data',
      params: params
    })
  }
}
